package com.daijia.entity.location;

import javax.persistence.Column;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.daijia.entity.IdEntity;

public class City extends IdEntity {

	@Column(name = "name")
	private String name;

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this);
	}
	
}
